package com.example.mapper;

import com.example.entity.Record;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RecordMapper {
    void add(Record record);
    void delete(Integer id);
    List<Record> selectAll();
   Record selectById(Integer adminId);
    void update(Record record);
    void deleteBatch(List<Integer> ids);
}
